PPageSize

Sets the page size of the current publication. Deselects all selected objects and resets the zero point.


Command constructor

PPageSize(long xWidth, long yHeight, PMBool bHiddenLayers);
long xWidth;
Width of the page of the publication in twips
long yHeight;
Height of the page of the publication in twips
PMBool bHiddenLayers;
true include items from hidden layers
false do not include items from hidden layers.
ZeroPoint reset. When you change the size of the page, PageMaker automatically resets the rulers' zero point to either the top left corner of the page (facing pages off) or to the center top, where facing pages meet.

Page size depends on facing pages specification. If the publication is not specified with facing pages (with the PPageOptions command or in the Document Setup dialog box), the largest page size is 42 inches by 42 inches. If the publication is set with facing pages, the largest page size is 17 by 22 inches.

Layout view only. Use the PPageSize command only in layout view.

Selected objects deselected. The PPageSize command deselects any selected objects. It does not, however, deselect highlighted text (text selected with the text tool or PTextSelect command).

Example. The following example:

PNew(5);
PPageSize(twips("8.5i"), twips("11i"), false);
PPageOptions(1, 1);
PPageMargins(twips("1i"), twips(".5i"), twips(".75i"), twips(".5i"), false);
PPageNumbers(1, -2, true, kNumArabic, "I-");


See also

The PDefineMasterPage, PPageMargins, PPageOptions, and PPreferences commands

The PGetPageSize query

Adobe PageMaker 6.5 Help > Commands > File > Document Setup


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support